package com.bawei.android_mianshi.service

import android.app.IntentService
import android.content.Intent
import android.content.Context
import android.util.Log

class ThreeIntentService : IntentService("ThreeIntentService") {

    //onHandleIntent执行耗时操作
    override fun onHandleIntent(intent: Intent?) {
       //发起网络请求
        Log.d("ThreeIntentService", "在服务中发起耗时操作: ")
        Thread.sleep(3000)
    }


}